<template>
  <view class="my-container">
    <view class="cu-bar bg-blue tabr" style=" height: 310rpx; padding-top: 40rpx;">
      <view class="action">
		    <uv-image src="../../static/img/dft.png" width="60" height="60"></uv-image>
      </view>
      <view class="content text-bold flex  justify-center  flex-direction  " style="height: 200rpx; padding-top: 40rpx;">
        <view class="text-left"> 温岭市第三中学</view>
        <view class="text-left">
          <text class="text-sm text-white">手机：1888888888</text>
        </view>

      </view>
      <view class="action">
        <view class="cu-item radius-l margin-right-lg  light bg-blue padding-xs">
          <text class="cuIcon-notice" style="font-size: 40rpx"></text>
        </view>
      </view>
    </view>

    <view class="my-list">
      <view class="tb padding bg-white solid-bottom" style="border-radius: 30px 30px 0 0;margin-top: -25px"></view>
    <view class="bg-white solid-bottom" style="padding:40rpx 30rpx; " @tap="handleMenu('info')">
      <view class="flex justify-between align-center">
        <view class="flex justify-center align-center">
          <view class="flex align-center justify-center margin-right-xs" >
            <svg width="25" height="25" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path d="M50 13.4555C50 13.0018 49.9114 12.5524 49.7391 12.1332C49.5669 11.7139 49.3145 11.333 48.9963 11.0121C48.6781 10.6912 48.3003 10.4367 47.8845 10.263C47.4687 10.0894 47.0231 10 46.5731 10H5.42691C4.97685 9.9999 4.53119 10.0892 4.11537 10.2628C3.69956 10.4365 3.32174 10.691 3.00351 11.0119C2.68527 11.3328 2.43285 11.7138 2.26066 12.133C2.08848 12.5523 1.9999 13.0017 2 13.4555V39.5445C2 40.4609 2.36105 41.3399 3.00372 41.9879C3.64639 42.6359 4.51804 43 5.42691 43H46.5724C47.0224 43 47.468 42.9106 47.8838 42.737C48.2996 42.5633 48.6773 42.3088 48.9956 41.9879C49.3138 41.667 49.5662 41.2861 49.7384 40.8668C49.9106 40.4476 49.9993 39.9982 49.9993 39.5445V13.4555H50ZM12.0545 23.3015C11.6109 22.9501 11.2521 22.5017 11.0053 21.9901C10.7585 21.4786 10.6301 20.9172 10.6298 20.3483C10.6298 18.2722 12.3055 16.5825 14.3644 16.5825C16.4233 16.5825 18.0989 18.2722 18.0989 20.3483C18.0986 20.9172 17.9702 21.4786 17.7234 21.9901C17.4766 22.5017 17.1179 22.9501 16.6742 23.3015C19.0647 24.238 20.7665 26.5774 20.7665 29.315C20.7665 29.7154 20.6145 30.4458 19.5964 30.8396C17.9644 31.4079 15.5367 31.6125 14.3004 31.6125C13.1651 31.6125 10.8058 31.4563 9.16291 30.8711C8.69455 30.6519 7.96145 30.3057 7.96145 29.315C7.96218 26.5774 9.664 24.2387 12.0545 23.3015ZM42.6684 36.3999H8.39709C8.02036 36.3999 7.712 36.0464 7.712 35.6665C7.712 35.2866 8.02036 34.9332 8.39709 34.9332H42.6684C43.0451 34.9332 43.3535 35.2866 43.3535 35.6665C43.3535 36.0471 43.0451 36.3999 42.6684 36.3999ZM42.6684 31.2664H23.4764C23.0996 31.2664 22.7913 30.9129 22.7913 30.5331C22.7913 30.1532 23.0996 29.7997 23.4764 29.7997H42.6684C43.0451 29.7997 43.3535 30.1532 43.3535 30.5331C43.3535 30.9137 43.0451 31.2664 42.6684 31.2664ZM42.6684 25.3996H23.4764C23.0996 25.3996 22.7913 25.0461 22.7913 24.6663C22.7913 24.2864 23.0996 23.9329 23.4764 23.9329H42.6684C43.0451 23.9329 43.3535 24.2864 43.3535 24.6663C43.3535 25.0461 43.0451 25.3996 42.6684 25.3996ZM42.6684 18.7995H23.4764C23.0996 18.7995 22.7913 18.446 22.7913 18.0661C22.7913 17.6862 23.0996 17.3328 23.4764 17.3328H42.6684C43.0451 17.3328 43.3535 17.6862 43.3535 18.0661C43.3535 18.446 43.0451 18.7995 42.6684 18.7995Z" fill="#3B7EFB"/>
            </svg>
          </view>
          <text>个人信息</text>
        </view>
        <text class="lg text-gray cuIcon-right"></text>
      </view>
    </view>
    <view class="bg-white solid-bottom" style="padding:40rpx 30rpx; " @tap="handleMenu('inform')">
      <view class="flex justify-between align-center">
        <view class="flex justify-center align-center">
          <view class="flex align-center justify-center margin-right-xs" >
            <svg width="25" height="25" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path d="M41.8645 38.312H9.13547C8.5691 38.312 8.02594 38.083 7.62546 37.6754C7.22499 37.2678 7 36.7149 7 36.1385C7 35.5621 7.22499 35.0092 7.62546 34.6016C8.02594 34.194 8.5691 33.965 9.13547 33.965H11.2695V22.379C11.271 18.997 12.4356 15.7223 14.5611 13.1228C16.6866 10.5232 19.639 8.76286 22.9062 8.147C22.7449 7.84787 22.6579 7.51317 22.6527 7.172C22.6535 6.59567 22.879 6.04322 23.2796 5.63598C23.6803 5.22874 24.2234 5 24.7896 5H26.2103C27.3893 5 28.3443 5.972 28.3443 7.172C28.3407 7.513 28.2546 7.84783 28.0938 8.147C31.3605 8.76348 34.3122 10.5241 36.4371 13.1236C38.562 15.7231 39.7261 18.9975 39.7276 22.379V33.965H41.8645C42.4309 33.965 42.9741 34.194 43.3745 34.6016C43.775 35.0092 44 35.5621 44 36.1385C44 36.7149 43.775 37.2678 43.3745 37.6754C42.9741 38.083 42.4309 38.312 41.8645 38.312ZM25.5 47C23.86 47.0004 22.2703 46.424 20.9999 45.3683C19.7296 44.3126 18.8567 42.8426 18.5292 41.207H32.4708C32.1433 42.8426 31.2704 44.3126 30.0001 45.3683C28.7297 46.424 27.14 47.0004 25.5 47Z" fill="#3B7EFB"/>
            </svg>
          </view>
          <text>系统通知</text>
        </view>
        <text class="lg text-gray cuIcon-right"></text>
      </view>
    </view>
    <view class="bg-white solid-bottom" style="padding:40rpx 30rpx; ">
      <view class="flex justify-between align-center">
        <view class="flex justify-center align-center">
          <view class="flex align-center justify-center margin-right-xs" >
            <svg width="25" height="25" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path d="M25.9292 10.3551C19.4007 10.3551 14.1088 15.5393 14.1088 21.934C14.1088 28.3285 19.4007 33.5127 25.9292 33.5127C32.4575 33.5127 37.7495 28.3285 37.7495 21.934C37.7469 15.5393 32.4575 10.3551 25.9292 10.3551ZM12.2791 26.3806V15.6891C12.1295 15.6891 11.9799 15.6943 11.8354 15.7074C14.2583 10.4468 19.6527 6.78245 25.9292 6.78245C32.2055 6.78245 37.6024 10.4468 40.0227 15.7074C39.8757 15.697 39.7287 15.6891 39.5791 15.6891V26.3806C42.5926 26.3806 45.0391 23.9866 45.0391 21.0362C45.0391 19.0307 43.9104 17.2851 42.2435 16.3689C39.8967 9.75126 33.4891 5 25.9292 5C18.3692 5 11.9641 9.75126 9.61463 16.3688C7.94776 17.2824 6.81902 19.0306 6.81902 21.0335C6.81902 23.9866 9.26297 26.3806 12.2791 26.3806ZM37.7232 32.5099C34.6336 35.3346 30.4888 37.0643 25.9292 37.0643C21.3775 37.0643 17.2378 35.3424 14.1508 32.5258C8.62773 35.3083 5 40.2669 5 47H47C47 40.2538 43.3066 35.2899 37.7232 32.5099Z" fill="#3B7EFB"/>
            </svg>
          </view>
          <text>客服电话</text>
        </view>
        <text class="lg text-gray cuIcon-right"></text>
      </view>
    </view>
    <view class="bg-white" style="padding:40rpx 30rpx; "  @tap="handleChecKing('checking')">
      <view class="flex justify-between align-center">
        <view class="flex justify-center align-center">
          <view class="flex align-center justify-center margin-right-xs" >
            <svg width="25" height="25" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path d="M45 18.4983V41.9172C45 44.1724 43.1835 46 40.939 46H10.0635C8.98578 46 7.95222 45.5699 7.19017 44.8042C6.42812 44.0385 6 43.0001 6 41.9172V18.4983H45ZM34.6733 22.6185C34.5216 22.4676 34.3417 22.3481 34.144 22.267C33.9463 22.1859 33.7347 22.1448 33.5211 22.146C33.3076 22.1471 33.0964 22.1906 32.8996 22.2738C32.7027 22.357 32.5242 22.4784 32.3741 22.631L22.3958 32.7692L18.6259 28.9414C18.3232 28.6336 17.9113 28.4592 17.4806 28.4563C17.05 28.4535 16.6358 28.6226 16.3292 28.9264L15.1721 30.0765C14.8661 30.381 14.6929 30.795 14.6905 31.2277C14.6882 31.6604 14.8569 32.0764 15.1596 32.3841L19.5043 36.8019L19.7158 37.0019C20.4882 37.6823 21.4884 38.0436 22.5152 38.0129C23.5419 37.9823 24.519 37.5621 25.2499 36.8369L35.8404 26.0763L35.9747 25.9212C36.2161 25.606 36.3346 25.2131 36.308 24.8163C36.2814 24.4195 36.1116 24.046 35.8304 23.7661L34.6733 22.6185ZM6 13.0779C6.00066 11.9956 6.42907 10.9577 7.19105 10.1926C7.95303 9.42749 8.98621 8.99769 10.0635 8.99769H14.9382V7.6326C14.9382 6.73255 15.6648 6 16.5631 6H18.188C19.0838 6 19.8129 6.73005 19.8129 7.6326V8.99769H31.1871V7.6326C31.1871 6.73255 31.9162 6 32.8145 6H34.4394C35.3352 6 36.0643 6.73005 36.0643 7.6326V8.99769H40.939C43.079 8.99769 44.8532 10.6678 44.995 12.8129L45 13.0804V14.748H6V13.0779Z" fill="#3B7EFB"/>
            </svg>

          </view>
          <text>我的考勤</text>
        </view>
        <text class="lg text-gray cuIcon-right"></text>
      </view>
    </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      isLogin: true, // 演示数据，实际应当根据登录状态判断
      userInfo: {
        name: '张三',
        desc: '持续学习，不断进步',
        avatar: '/static/avatar.png',
        courseNum: 6,
        studyDays: 58,
        points: 280
      },
    }
  },
  methods: {
    login() {
      uni.showToast({
        title: '跳转到登录页',
        icon: 'none'
      });
      // 实际应用中跳转到登录页
      // uni.navigateTo({
      //   url: '/pages/login/login'
      // })
    },
	handleChecKing(url) {
	 
	  uni.navigateTo({
	    url: '/pages/checking/'+ url
	  })
	},
    handleMenu(url) {
     
      uni.navigateTo({
        url: '/pages/my/'+ url
      })
    }
  }
}
</script>

<style>
.my-container {
}



</style>
